package org.example.xls.controller;

import org.example.xls.service.TestNameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class testNameController {
    @Autowired
    private TestNameService testNameService;

    /**
     * 获取测试名称
     * @return
     */
    @GetMapping("/testName")
    List<Object> testName(){
        return testNameService.getTestName();
    }
}
